package lab02.test05;

/**
 * Created by Administrator on 2017/10/15.
 */
import lab02.test05.Cube;

import java.util.Scanner;

/**
 * Created by 123 on 2017/10/15.
 */
public class Test05 {
    public static void main(String[] args) {
        Cube one = new Cube();//创建一个新的对象

        Scanner sc = new Scanner(System.in);
        one.length = sc.nextInt();//对新的立方体长宽高赋值
        one.width = sc.nextInt();
        one.height = sc.nextInt();


        System.out.println("体积为" + one.volume());//求体积
    }
}

